package com.competition.param.impl;

import javax.validation.constraints.Pattern;

import com.competition.web.constant.ValidateCondtionAndMessage;
import com.param.impl.PageParam;

public class UserParam extends PageParam{

	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_COMMON_MSG)
	private String username;
	
	@Pattern(regexp = ValidateCondtionAndMessage.PHONE_BY_PATTERN, message = ValidateCondtionAndMessage.PHONE_BY_PATTERN_MSG)
	private String mobilePhone;


	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
}
